/*
 * SphereTs.h
 *
 *  Created on: Sep 1, 2013
 *      Author: marchi
 */

#ifndef SPHERETS_H_
#define SPHERETS_H_
#include "Triangle.h"
#include <vector>

using std::vector;
class SphereTs {
	vector<Triangle> Tr;
	void subdivide();
public:
	SphereTs(int levels);
	size_t Size(){return Tr.size();}
	Dvect operator[](size_t);
	void Scale(double);
	double Radius(){return Tr.at(0).getRadius();}
	virtual ~SphereTs();
};

#endif /* SPHERETS_H_ */
